package com.lvy.hczn.transmit.domain.dto.cteck;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class SortDoneDetail implements Serializable {

    @ApiModelProperty(value = "商品编码")
    private String merchandiseCode;

    @ApiModelProperty(value = "商品SKU")
    private String merchandiseSku;

    @ApiModelProperty(value = "分拣后实际重量")
    private BigDecimal merchandiseWeight;

    @ApiModelProperty(value = "分拣后实际数量")
    private Integer merchandiseNum;

    @ApiModelProperty(value = "差异重量 商品重量-实际称重重量")
    private BigDecimal differWeight;

    @ApiModelProperty(value = "分拣费")
    private BigDecimal sortFee;

    @ApiModelProperty(value = "生产商id")
    private String producerId;

    @ApiModelProperty(value = "生产商日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date producerDate;

    @ApiModelProperty(value = "保质天数")
    private String warrantyDate;

    @ApiModelProperty(value = "分拣员")
    private String sortUser;
}
